<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>商家中心</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Bootstrap 3.3.4 -->
	<link rel="shortcut icon" href="/favicon.ico" />
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- FontAwesome 4.3.0 -->
 	<link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Ionicons 2.0.0 --
    <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <!-- Theme style -->
    <link href="__PUBLIC__/dist/css/AdminLTE.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/layui/css/layui.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
	<link href="__PUBLIC__/dist/css/tab.css" rel="stylesheet" type="text/css" />
    <!-- iCheck -->
    <link href="__PUBLIC__/plugins/iCheck/flat/blue.css" rel="stylesheet" type="text/css" /> 
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->   
    <!-- jQuery 2.1.4 -->
    <script src="__PUBLIC__/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <script src="__PUBLIC__/js/global.js"></script>
    <script src="__PUBLIC__/js/upgrade.js"></script>
	<script src="__PUBLIC__/js/layer/layer.js"></script><!--弹窗js 参考文档 http://layer.layui.com/--> 
    <style type="text/css">
    	#riframe{min-height:inherit !important}
		.tpmenu{float:left;padding-left:100px;height:50px;}
		.menu_list li{list-style:none;width:30px;height:48px;float:left;}
		.control-sidebar-dark{display:none;}
		.control-sidebar.control-sidebar-open, .control-sidebar.control-sidebar-open+.control-sidebar-bg{display:block;}
    </style><!-- skin-green-light sidebar-mini -->
  </head>
<body class="sidebar-mini skin-blue">
<div class="wrapper">
  <header class="main-header">
      <!-- Logo -->
      <a href="/index.php/Seller/Index/index" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b></b></span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><img src="{$shop_info.store_logo}" width="50" height="50">&nbsp;&nbsp;<b>{$shop_info.store_name}</b></span>
      </a>
	  
      <!-- Header Navbar: style can be found in header.less -->
      <nav class="navbar navbar-static-top" role="navigation">
		  <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
		      <span class="sr-only">Toggle navigation</span>
		  </a>
      <a href="#" class="sidebar-toggle tabReload" role="button">
        <i class="fa fa-refresh"></i>
      </a>
        <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
            <li>
              <a href="#" class="fullscreen" id="fullScreen">
                <i class="fa fa-arrows-alt"></i>
              </a>
          </li>
          <if condition="$upgradeMsg[0] neq null">
               <li>
                  <a href="javascript:void(0);" id="a_upgrade">
                      <i class="glyphicon glyphicon-upload"></i>
                      <span  style="color:#FF0;">{$upgradeMsg.0}&nbsp;</span>
                  </a>
               </li>
           </if>
          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-warning">{:count($tishi)}</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">您有 {:count($tishi)} 个订单未处理！</li>
              <li>
                <!-- inner menu: contains the actual data -->
                <ul class="menu">
				<?php
				$i=0;
				foreach($tishi as $v){
					$i++;
					if($i<=10){
				?>
                  <li>
                    <a id="dianji" href="javascript:;" rel="/Seller/Order/index/order_status/0" rev="待发货订单">
                      <i class="fa fa-warning text-yellow"></i>{$v['order_sn']}
                    </a>
                  </li>
				<?php
				}
				}
				?>
                </ul>
              </li>
              <li class="footer"><a id="dianji" href="javascript:;" rel="/Seller/Order/index/order_status/0" rev="待发货订单">查看更多。。</a></li>
            </ul>
          </li>
           <li class="dropdown user user-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <!--<img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">-->
                <img src="/Public/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                <span class="hidden-xs">欢迎：{$seller.seller_name}</span>
              </a>
              <ul class="dropdown-menu" style="width:135px;">
                <li class="user-footer" style="background: none;">
                  <div class="pull-left" style="width:120px;text-align:center;line-height:32px">
                   	<a id="dianji" href="javascript:;" rel="{:U('Seller/Admin/admin_info',array('seller_id'=>$seller['seller_id']))}" style="color: #333;display: block;"><i class="fa fa-book"></i>&nbsp;&nbsp;修改密码</a>
                   	<a id="dianji" href="javascript:;" rel="{:U('Seller/Admin/logout')}" style="color: #333;display: block;"><i class="fa fa-power-off"></i>&nbsp;&nbsp;安全退出</a>
                  </div>
                </li>
              </ul>
            </li>
			<li>
			    <a href="{:U('/Seller/Admin/cleanCache')}">
			        <i class="glyphicon glyphicon glyphicon-refresh"></i>
			        <span>清除缓存</span>
			    </a>
			</li>
            <!-- Control Sidebar Toggle Button -->
            <!-- <li><a href="#" data-toggle="control-sidebar"><i class="fa fa-street-view"></i>换肤</a></li> -->
          </ul>
        </div>
     </nav>
</header> 